<?php

// 配置数据库
require("include/db.php");
 
// 连接数据库
require("include/conn.php");

// 配置系统
require("include/config.php");
 
//查询操作
$sql="SELECT * FROM hnw_main WHERE w110 like '%1606%'";
$result=mysql_query($sql);

//关闭连接
mysql_close($connect);

?>

<!doctype html>
<html>
<head>
<meta charset="gbk">
<title><?php  echo sysname; ?> <?php echo version; ?> - Powered by Y.Z.W</title>
<link rel="stylesheet" type="text/css" href="css/normalize.css" />
<link rel="stylesheet" type="text/css" href="css/demo.css" />
<link rel="stylesheet" type="text/css" href="css/component.css" />
<style type="text/css">
body,td,th {
    font-family: Lato, Arial, sans-serif;
}
body {
	margin-top: 0px;
}
</style>
<!--[if IE]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>

<body>

<?php require("head.php"); ?>

<table width="200" border="1">
  <tbody>
      <tr>
      <td><?php  echo b100; ?></td>
      <td><?php  echo b110; ?></td>
      <td><?php  echo b111; ?></td>
      <td><?php  echo b112; ?></td>
      <td><?php  echo b113; ?></td>
      <td><?php  echo b114; ?></td>
      <td><?php  echo b115; ?></td>
      <td><?php  echo b116; ?></td>
      <td><?php  echo b117; ?></td>
      <td><?php  echo b118; ?></td>
      <td><?php  echo b119; ?></td>
      <td><?php  echo b120; ?></td>
      <td>管理</td>
    </tr>
  <?php while($row=mysql_fetch_array($result)){?>
    <tr>
      <td><?php  echo $row['w100']; ?></td>
      <td><?php  echo $row['w110']; ?></td>
      <td><?php  echo $row['w111']; ?></td>
      <td><?php  echo $row['w112']; ?></td>
      <td><?php  echo $row['w113']; ?></td>
      <td><?php  echo $row['w114']; ?></td>
      <td><?php  echo $row['w115']; ?></td>
      <td><?php  echo $row['w116']; ?></td>
      <td><?php  echo $row['w117']; ?></td>
      <td><?php  echo $row['w118']; ?></td>
      <td><?php  echo $row['w119']; ?></td>
      <td><?php  echo $row['w120']; ?></td>
      <td><a href="edit.php?id=<?php  echo $row['w100']; ?>">[改]</a> <a href="del.php?id=<?php  echo $row['w100']; ?>">[删]</a></td>
    </tr>
    <?php } ?>
  </tbody>
</table>

<?php require("foot.php"); ?>

</body>
</html>